﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AcSDK.Domain
{
    /// <summary>
    /// 在途商品记录
    /// </summary>
    [Serializable]
    public partial class AT_OnroadProd : AT_OnroadProdEx
    {
        public AT_OnroadProd()
        { }
        #region Model
        private long _Id = 0;
        private long _companyid = 0;
        private DateTime _createtime = DateTime.Now;
        private long _createby = 0;
        private DateTime _updatetime = DateTime.Now;
        private long _updateby = 0;
        private string _dcode = "";
        private int _type = 0;
        private long _supplier = 0;
        private DateTime _ywdate = DateTime.Now;
        private string _ywy = "";
        private int _hasalert = 0;
        private DateTime _willdate = DateTime.Now;
        /// <summary>
        /// 序号
        /// </summary>
        public long Id
        {
            set { _Id = value; }
            get { return _Id; }
        }
        /// <summary>
        /// 公司ID
        /// </summary>
        public long CompanyId
        {
            set { _companyid = value; }
            get { return _companyid; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 创建人
        /// </summary>
        public long CreateBy
        {
            set { _createby = value; }
            get { return _createby; }
        }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UpdateTime
        {
            set { _updatetime = value; }
            get { return _updatetime; }
        }
        /// <summary>
        /// 修改人
        /// </summary>
        public long UpdateBy
        {
            set { _updateby = value; }
            get { return _updateby; }
        }
        /// <summary>
        /// 单据号
        /// </summary>
        public string Dcode
        {
            set { _dcode = value; }
            get { return _dcode; }
        }
        /// <summary>
        /// 类型
        /// </summary>
        public int Type
        {
            set { _type = value; }
            get { return _type; }
        }
        /// <summary>
        /// 往来单位
        /// </summary>
        public long Supplier
        {
            set { _supplier = value; }
            get { return _supplier; }
        }
        /// <summary>
        /// 业务日期
        /// </summary>
        public DateTime YwDate
        {
            set { _ywdate = value; }
            get { return _ywdate; }
        }
        /// <summary>
        /// 业务员
        /// </summary>
        public string Ywy
        {
            set { _ywy = value; }
            get { return _ywy; }
        }
        /// <summary>
        /// 是否预警
        /// </summary>
        public int HasAlert
        {
            set { _hasalert = value; }
            get { return _hasalert; }
        }
        /// <summary>
        /// 预计到期
        /// </summary>
        public DateTime WillDate
        {
            set { _willdate = value; }
            get { return _willdate; }
        }
        #endregion Model

    }
}
